﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace xmlTranslate
{
    /// <summary>
    /// 翻译接口
    /// </summary>
    public interface ITranslate
    {
        /// <summary>
        /// 翻译
        /// </summary>
        /// <param name="sourceStr">源字符串</param>
        /// <param name="saveSource">是否保存源字符串</param>
        /// <returns></returns>
        string Translate(string sourceStr, bool saveSource = true);
    }
}
